﻿namespace NHibernateCodeGenerator
{
    using System;
    using System.Threading;

    public class WaitHelper
    {
        private Thread th;

        public void WaitEnd()
        {
            this.th.Abort();
        }

        public void WaitStart()
        {
            this.th = new Thread(() => new Form2().ShowDialog());
            this.th.Start();
        }
    }
}

